<form>
<select name="user" onchange="loadUserData(this)">
	<option value="">Bitte wählen</option>
  <?php $i=1; foreach($user as $u): ?>
	<option value="<?=$u->id?>"><?=$u->name?></option>
  <?php endforeach; ?>
</select>
</form><br/>

<?=form_open('admin/saveuser')?>
<table id="useredit" width="100%" border="0" cellpadding="2" cellspacing="2"><tbody>
	<tr><td>id</td><td width="100%"><input name="id" readonly="readonly"/></td></tr>
	<tr><td>name</td><td><input name="name" /></td></tr>
	<tr><td>email</td><td><input name="email" /></td></tr>
	<tr><td>username</td><td><input name="username" /></td></tr>
	<tr><td>password</td><td><input name="password" /></td></tr>
	<tr><td>groupname</td><td><input name="groupname" /></td></tr>
	<tr><td>messenger_type</td><td><input name="messenger_type" /></td></tr>
	<tr><td>messenger_value</td><td><input name="messenger_value" /></td></tr>
	<tr><td>url</td><td><input name="url" /></td></tr>
</tbody></table><br/>

<input class="submit" type="submit" />
<?=form_close();?>
